#ifndef __ATOMS__
#define __ATOMS__

#include <d3dx9.h>

	struct FVFVertex
	{
		FVFVertex( float, float, float, float, D3DCOLOR );
		float x;
		float y;
		float z;
		float size;
		D3DCOLOR color;
	};

	struct LCVertexPosDiffuse
	{
		float x, y, z;
		D3DCOLOR color;

		LCVertexPosDiffuse( float x, float y, float z, D3DCOLOR c ) : x( x ), y( y ), z( z ), color( c ) {}

		static const DWORD FORMAT = D3DFVF_XYZ | D3DFVF_DIFFUSE;
	};

	struct LCVertexTexture
	{
		float x, y, z;
		float tx, ty;

		LCVertexTexture( float x, float y, float z, float tx, float ty ) : x( x ), y( y ), z( z ), tx( tx ), ty( ty ) {}

		static const DWORD FORMAT = D3DFVF_XYZ | D3DFVF_TEX1;
	};

#endif